<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>这里是标题</title>

    <link rel="stylesheet" href="test.css">

    <style>
        .a~.a {
            display: none;
        }
    </style>



</head>

<body>





    <div>
        <div class="a">123</div>
        <div>
            <div class="a">123k</div>
        </div>
    </div>
    <div>
        <div class="a">456 </div>
        <div class="a">123k</div>
    </div>

</body>

</html>